package leoner.multithread3;

/**
 * ���淽����һЩ��Ϣ
 * @author kanghui
 *
 */
public class MethodInvokeInfoBean {
	private Class returnType;
	private Object targetObject;
	private String targetMethodName;
	private Object[] parameters;
	private Class[] cls;
	
	public MethodInvokeInfoBean(Class returnType,String targetMethodName,Object target,Object... parameters){
		this.returnType = returnType;
		this.targetObject = target;
		this.targetMethodName = targetMethodName;
		this.parameters = parameters;
		cls = new Class[this.parameters.length];
		for(int i=0; i<this.parameters.length;i++){
			cls[i] = this.parameters[i].getClass();
		}
	}
	public Object getTargetObject() {
		return targetObject;
	}
	public String getTargetMethodName() {
		return targetMethodName;
	}
	public Object[] getParameters() {
		return parameters;
	}
	public Class[] getCls() {
		return cls;
	}
	public Class getReturnType() {
		return returnType;
	}
	
}
